<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Staudenmeir\EloquentHasManyDeep\HasRelationships;

class Country extends Model
{
    use HasRelationships;
    
    public function Person()
    {
        return $this->hasManyDeep(Comment::class, [Person::class, Post::class]);
    }
}
